package com.tanhua.dubbo.server.api;



import com.tanhua.dubbo.server.vo.UsersVo;

import java.util.Date;


public interface Users_xuApi {
    //查询七天内活跃用户
    Integer queryActiveUserLastWeek();

    //查询三十天活跃用户
    Integer queryActiveUserLastMonth();

    //6.今日登录次数
    Long loginTimesToday();
    //7.今日登录次数涨跌率，单位百分数，正数为涨，负数为跌
    Long queryLoginCountRate();
    //8.今日活跃用户;
    Integer activeUsersToday();
    //9.今日活跃用户涨跌率，单位百分数，正数为涨，负数为跌
    Integer activeUsersTodayRate();
    //10.过去7天平均日使用时长，单位秒
    Integer useTimePassWeek();
    //11.昨日活跃用户
    Integer activeUsersYesterday	();
    //12.昨日活跃用户涨跌率，单位百分数，正数为涨，负数为跌
    Integer activeUsersYesterdayRate();

    //活跃用户
    UsersVo getActiveUser(Date startTime, Date endTime, Date lastStartTime, Date lastEndTime);
}
